#include "diphead-4.h"
int main()
{
	char s[] = "dipsource.bmp";
	BmpImage img(s);
	//位面分割
	img.split();
	//线性对比度展宽
	img.adjustLinear(95, 195);
	//非线性对比度展宽
	img.adjustUnlinear(42);
	//直方图均衡化
	img.equalizeGrayhist();
	//伪彩色增强
	img.convertGray2RGB();
}